package com.bawei.rk_01.Adapter

import com.bawei.base.utils.bean.Addresslist
import com.bawei.rk_01.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class AddressAdapter : BaseQuickAdapter<Addresslist,BaseViewHolder>(R.layout.item_addresslist) {
    override fun convert(holder: BaseViewHolder, item: Addresslist) {
        holder.setText(R.id.tv1,"收货人"+item.realName+item.phone)
        holder.setText(R.id.tv2,"收货地址：${item.province+item.city+item.district+item.detail}")
    }
}